#include maps\mp\_utility;

doKillstreaks() 
{
	self endon ("death");
	self endon ("disconnect");

	self.startscore = self.pers["kills"];

	while(1) 
	{
		self.killcount = self.pers["kills"] - self.startscore;
		
		if(self.killcount != self.pers["kills"] - self.startscore) 
		{
			switch(self.killcount) 
			{
				case 3: 
				self SetWeaponAmmoClip( "deserteagle_mp", 2 );
				self SwitchToWeapon( "deserteagle_mp" );
				break;
				
				case 5:
				self thread doSpeed();
				break;
			}
		}
		wait 0.05;
	}
}

doSpeed()
{
	self endon( "death");
	self endon( "disconnect");
}
	
	